package com.koicarp.university.graudate.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @auther liutao
 * @Date 2020-09-24 20:12:03
 */
@Data
@ToString
@ApiModel("权限分用户信息vo")
public class UserByRoleVo implements Serializable {

    @ApiModelProperty(value = "页码",required = true)
//    @IsNotNull(message = "页码不能为空")
    public Integer pageNum;

    @ApiModelProperty(value = "每页数量",required = true)
//    @IsNotNull(message = "每页数量不能为空")
    public Integer pageSize;

    @ApiModelProperty(value = "角色名称")
    String roleName;

    @ApiModelProperty(value = "用户标识符ID")
    String userId;

    @ApiModelProperty(value = "用户昵称")
    String userName;

    @ApiModelProperty(value = "排序条件")
    String sort;
}
